﻿using System;
using System.Runtime.Serialization;

namespace NsbMonitorClientService.DataContract
{
    [DataContract]
    public class SubscribedToShortInfo
    {
        [DataMember]
        public String PublisherName { get; set; }

        [DataMember]
        public int PublisherId { get; set; }

        [DataMember]
        public String TypeName { get; set; }

        [DataMember]
        public int TypeId { get; set; }
    }

    [DataContract]
    public class SubscribedByShortInfo
    {
        [DataMember]
        public String SubscriberName { get; set; }

        [DataMember]
        public int SubscriberId { get; set; }

        [DataMember]
        public String TypeName { get; set; }

        [DataMember]
        public int TypeId { get; set; }
    }
}